handleQuit
Handles a quit request.
public void handleQuit ();DISCUSSION
This application-defined method is called when the Finder requests that the application quit. For example, this occurs when the user selects the Shutdown menu item in the Finder. Typically, your method should perform any necessary cleanup (and possibly ask if the user really wants to quit) and then call the methodjava.lang.System.exit()
. You must register the method name by calling theregisterQuitHandler
method (page 45) when initializing the application. The handleQuit method is only useful if you have packaged your Java application using JBindery.SEE ALSO
TheregisterQuitHandler
method (page 45).